package com.jac.alapores.dao;

import java.util.List;

import com.jac.alapores.domain.Alapores;

public class AlaporesRepository
extends BaseRepository
{
	public List<Alapores> getAll()
	{
		return getService().query(Alapores.class).list();
	}
	
	public void create(Alapores alapores)
	{		
		getService().put(alapores);				
	}
	
	public void deleteById(Long pId)
	{
		getService().delete(Alapores.class, pId);
	}
	
	public Alapores getById(Long pId)
	{
		return getService().get(Alapores.class, pId);
	}
}
